package com.lin.easyexceldemo.mapper;


import com.lin.easyexceldemo.entity.UserTest;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.cursor.Cursor;

import java.util.List;

public interface UserTestMapper {

    @Options(fetchSize = 300)
    Cursor<UserTest> selectListByCursor();

    int queryCount();

    List<UserTest> selectListByPage(@Param("startIndex") int startIndex, @Param("pageSize") int pageSize);
}
